'use strict'

const path = require('path')

exports.mongoose = {
  enable: true,
  package: 'egg-mongoose',
}

exports.cors = {
  enable: true,
  package: 'egg-cors',
}

exports.jax = {
  enable: true,
  path: path.join(__dirname, '../lib/plugin/jax'),
}

exports.mongooseAutoIncrement = {
  enable: true,
  path: path.join(__dirname, '../lib/plugin/jax/plugin/mongoose-auto-increment'),
}

exports.sessionMongoose = {
  enable: true,
  path: path.join(__dirname, '../lib/plugin/jax/plugin/egg-session-mongoose'),
}

exports.mongooseCache = {
  enable: true,
  path: path.join(__dirname, '../lib/plugin/jax/plugin/mongoose-cache'),
}

exports.loader = {
  enable: true,
  path: path.join(__dirname, '../lib/plugin/loader'),
}

exports.ydApi = {
  enable: true,
  path: path.join(__dirname, '../lib/plugin/yd-api'),
}
